﻿Imports AutoCAD

''' <summary>
''' 绘制孔服务
''' </summary>
Public Interface ICadDrawHoleService

    Function DrawHole_平面(ByRef plate As AcadBlockReference, ByVal px As Double, ByVal py As Double, ByVal pz As Double, ByVal diameter As Double, ByVal depth As Double)

    Function DrawHole_侧面(ByRef plate As AcadBlockReference, ByVal px As Double, ByVal py As Double, ByVal pz As Double, ByVal diameter As Double, ByVal depth As Double)

    Function DrawHole_立面(ByRef plate As AcadBlockReference, ByVal px As Double, ByVal py As Double, ByVal pz As Double, ByVal diameter As Double, ByVal depth As Double)


    ''' <summary>
    ''' 绘制孔
    ''' </summary>
    ''' <param name="face"> 所在面 </param>
    ''' <param name="plate"> 板件 </param>
    ''' <param name="px"> 位置x </param>
    ''' <param name="py"> 位置y </param>
    ''' <param name="pz"> 位置z </param>
    ''' <param name="diameter"> 孔径 </param>
    ''' <param name="depth"> 孔深 </param>
    ''' <returns></returns>
    Function DrawHole(ByVal face As Integer, ByRef plate As AcadBlockReference, ByVal px As Double, ByVal py As Double, ByVal pz As Double, ByVal diameter As Double, ByVal depth As Double)
    ''' <summary>
    ''' 绘制孔_1#面
    ''' </summary>
    ''' <param name="plate"> 板件 </param>
    ''' <param name="px"> 位置x </param>
    ''' <param name="py"> 位置y </param>
    ''' <param name="pz"> 位置z </param>
    ''' <param name="diameter"> 孔径 </param>
    ''' <param name="depth"> 孔深 </param>
    ''' <returns></returns>
    Function DrawHole_Face1(ByRef plate As AcadBlockReference, ByVal px As Double, ByVal py As Double, ByVal pz As Double, ByVal diameter As Double, ByVal depth As Double)
    ''' <summary>
    ''' 绘制孔_2#面
    ''' </summary>
    ''' <param name="plate"> 板件 </param>
    ''' <param name="px"> 位置x </param>
    ''' <param name="py"> 位置y </param>
    ''' <param name="pz"> 位置z </param>
    ''' <param name="diameter"> 孔径 </param>
    ''' <param name="depth"> 孔深 </param>
    ''' <returns></returns>
    Function DrawHole_Face2(ByRef plate As AcadBlockReference, ByVal px As Double, ByVal py As Double, ByVal pz As Double, ByVal diameter As Double, ByVal depth As Double)
    ''' <summary>
    ''' 绘制孔_3#面
    ''' </summary>
    ''' <param name="plate"> 板件 </param>
    ''' <param name="px"> 位置x </param>
    ''' <param name="py"> 位置y </param>
    ''' <param name="pz"> 位置z </param>
    ''' <param name="diameter"> 孔径 </param>
    ''' <param name="depth"> 孔深 </param>
    ''' <returns></returns>
    Function DrawHole_Face3(ByRef plate As AcadBlockReference, ByVal px As Double, ByVal py As Double, ByVal pz As Double, ByVal diameter As Double, ByVal depth As Double)
    ''' <summary>
    ''' 绘制孔_4#面
    ''' </summary>
    ''' <param name="plate"> 板件 </param>
    ''' <param name="px"> 位置x </param>
    ''' <param name="py"> 位置y </param>
    ''' <param name="pz"> 位置z </param>
    ''' <param name="diameter"> 孔径 </param>
    ''' <param name="depth"> 孔深 </param>
    ''' <returns></returns>
    Function DrawHole_Face4(ByRef plate As AcadBlockReference, ByVal px As Double, ByVal py As Double, ByVal pz As Double, ByVal diameter As Double, ByVal depth As Double)
    ''' <summary>
    ''' 绘制孔_5#面
    ''' </summary>
    ''' <param name="plate"> 板件 </param>
    ''' <param name="px"> 位置x </param>
    ''' <param name="py"> 位置y </param>
    ''' <param name="pz"> 位置z </param>
    ''' <param name="diameter"> 孔径 </param>
    ''' <param name="depth"> 孔深 </param>
    ''' <returns></returns>
    Function DrawHole_Face5(ByRef plate As AcadBlockReference, ByVal px As Double, ByVal py As Double, ByVal pz As Double, ByVal diameter As Double, ByVal depth As Double)
    ''' <summary>
    ''' 绘制孔_0#面
    ''' </summary>
    ''' <param name="plate"> 板件 </param>
    ''' <param name="px"> 位置x </param>
    ''' <param name="py"> 位置y </param>
    ''' <param name="pz"> 位置z </param>
    ''' <param name="diameter"> 孔径 </param>
    ''' <param name="depth"> 孔深 </param>
    ''' <returns></returns>
    Function DrawHole_Face0(ByRef plate As AcadBlockReference, ByVal px As Double, ByVal py As Double, ByVal pz As Double, ByVal diameter As Double, ByVal depth As Double)

End Interface
